package com.atguigu.gmall.payment.service;

import com.atguigu.gmall.model.enums.PaymentType;
import com.atguigu.gmall.model.payment.PaymentInfo;

import java.util.Map;

public interface PaymentInfoService {
    PaymentInfo insertPaymentInfo(Long orderId, PaymentType paymentType);

    void update(Map<String, String> paramsMap);
    void update(PaymentInfo paymentInfo);

    PaymentInfo getPaymentInfo(String out_trade_no, String name);
}
